package com.app.megaprosoft.modyimcarcare;

import java.io.Serializable;

import android.widget.CheckBox;
import android.widget.CompoundButton;

public class List_Payment implements Serializable {
	private static final long serialVersionUID = -5435670920302756945L;
	
	private CheckBox check ;
	private String name = "",itemOID;
	private int number;
	private double price=0,discount=0,total=0;
	private boolean selected;
	
	public List_Payment(
			Boolean		selected,
			String 		name,
			int			number,
			double 		price,
			double		discount,
			double		total,
			String		itemOID
			) 
	{
		this.setSelected(selected);
		this.setName(name);
		this.setNumber(number);
		this.setPrice(price);
		this.setDiscount(discount);
		this.setTotal(total);
		this.setItemOID(itemOID);
	}
	
	public boolean isSelected() {
		  return selected;
		 }

	public void setSelected(boolean check) {
		  this.selected = check;
	}

	public String getItemOID() {
		return itemOID;
	}



	public void setItemOID(String itemOID) {
		this.itemOID = itemOID;
	}

	public double getPrice() {
		return price;
	}


	public void setPrice(double price) {
		this.price = price;
	}


	public int getNumber() {
		return number;
	}


	public void setNumber(int number) {
		this.number = number;
	}


	public double getDiscount() {
		return discount;
	}


	public void setDiscount(double discount) {
		this.discount = discount;
	}


	public double getTotal() {
		return total;
	}


	public void setTotal(double total) {
		this.total = total;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}